
package cz.czu.pef.DataModelling.service.impl;

import java.util.logging.*;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cz.czu.pef.DataModelling.dao.*;
import cz.czu.pef.DataModelling.domainObjects.*;
import cz.czu.pef.DataModelling.entityObjects.*;
import cz.czu.pef.DataModelling.service.api.*;

/**
 * Implements all operations for given Entity.
 * This implementation should be used exclusively for accessing any DAO operations.
 * 
 * @author Rostislav Stříbrný
 *
 */
@Service(value = "roleService")
public class RoleServiceImpl extends AbstractWrapperServiceImpl<Role, RoleEntityImpl> implements RoleService
{
  Logger logger = Logger.getLogger(RoleServiceImpl.class.getName());

  @Autowired
  RoleDao roleDao;

  @Override
  public Dao<RoleEntityImpl> getDao()
  {
    return roleDao;
  }
}
